Skip to content

Port StatementParser::shard to the new parser for inserts#1113

Open
sgrif wants to merge 1 commit into
mainfrom
sg-port-insert
Open

Port StatementParser::shard to the new parser for inserts#1113
sgrif wants to merge 1 commit into
mainfrom
sg-port-insert

Conversation

@sgrif

@sgrif sgrif commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This isn't a straight 1-1 port, we evaluate things in a slightly different order. We also much more cleanly look for any subselects that might be something we can use for routing (though that branch didn't have good test coverage before, and it still doesn't now).

This also fixes a bug where inserts that should have been round robin were broadcast to all shards

This isn't a straight 1-1 port, we evaluate things in a slightly
different order. We also much more cleanly look for any subselects that
might be something we can use for routing (though that branch didn't
have good test coverage before, and it still doesn't now).

This also fixes a bug where inserts that should have been round robin
were broadcast to all shards
@sgrif sgrif requested a review from levkk June 26, 2026 23:14
@sgrif

sgrif commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Lol GitHub hides the actual code that changed behind "large diff hidden by default" 🙄

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant